<?php
/**
 * The template for displaying chat posts
 *
 * @package wplook
 * @subpackage BlogoLife
 * @since BlogoLife 1.0
 */
?>
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
	<div class="col1 fleft"><div class="postformat"><div class="format-icon"></div><div class="left-corner"></div></div></div><div class="col2 fright">
<header class="entry-header">
	<h1 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'wplook' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h1></header>
<?php if ( is_search() ) : // Only display Excerpts for Search ?>
	<div class="entry-content"><?php the_excerpt(); ?></div><!-- .entry-summary -->
<?php elseif ( is_single() ): ?>	
	<div class="entry-content chat">
	<?php the_content( __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'wplook' ) ); ?>
	<?php wp_link_pages( array( 'before' => '<div class="clear"></div><div class="page-link"><span>' . __( 'Pages:', 'wplook' ) . '</span>', 'after' => '</div>' ) ); ?>
<!-- .entry-content -->
	<div class="clear"></div>	
<div class="entry-utility">
<div class="category"><b><?php _e('Category:', 'wplook'); ?></b><?php the_category(', ') ?>
<div class="end"></div>
</div>
<?php if ( get_the_tag_list( '', ', ' ) ) { ?>	<div class="tag"><b><?php _e('Tag:', 'wplook'); ?></b><?php echo get_the_tag_list('',', ',''); ?>
<div class="end"></div></div>
<?php } ?></div><!-- .entry-utility -->
<div class="clear"></div>
</div><!-- .entry-content -->
<?php else : ?>	
<div class="entry-content chat">
	<?php the_content( __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'wplook' ) ); ?>
	<?php wp_link_pages( array( 'before' => '<div class="page-link"><span>' . __( 'Pages:', 'wplook' ) . '</span>', 'after' => '</div>' ) ); ?>
</div><!-- .entry-content -->
		<?php endif; ?>	
<footer class="entry-meta">
	<div class="date-i fleft"><a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'wplook' ), the_title_attribute( 'echo=0' ) ); ?>" rel="nofollow"><?php wplook_get_date_time();?></a></div>
	<?php if ( comments_open() ) : ?>
	<div class="comment-i fleft"><?php comments_popup_link(__('No comments', 'wplook'), __('1 comment', 'wplook'), __('% comments', 'wplook'), 'comments-link', __('Comments off', 'wplook')); ?></div>
	<?php endif; ?>
	<div class="author-i fleft"><?php wplook_get_author();?></div>
	<?php edit_post_link( __( 'Edit', 'wplook' ), '<div class="edit-i fright">', '</div>' ); ?>
<div class="clear"></div>
</footer>
</div><div class="clear"></div>
</article>	